class Student:
    def __init__(self, sno,name,age,sex,height,weight,score,address,phone):
        self.sno = sno
        self.name = name
        self.age = age
        self.sex = sex
        self.height = height
        self.weight = weight
        self.score = score
        self.address = address
        self.phone = phone


    def learning(self,time):
        print(self.name + "正在学习" + str(time) + "分钟")


    def play_game(self,name):
        print(self.name + "正在玩" + name)

    def programming(self,row):
        print(self.name + "已经写了" + str(row) + "行代码")

    def sum(self,*args):
        return sum(args)


